package HomeWork.ooday02;



public class Demo1 {
    public static void main(String[] args) {
        Student s=new Student("李明","乌鲁木齐",15,"dsfha4546","JDS1142");
        s.eat();
        s.drink();
        s.sayHi();
        s.study();
        Teacher t=new Teacher("石金义","黑龙江",45,54500.0);
        t.eat();
        t.drink();
        t.sayHi();
        t.teach();
        Doctor d = new Doctor("郭林","锦江区",56,"高级主任");
        d.sayHi();
        d.cut();
        d.eat();
        d.drink();
    }
}
